/*
 * @Description:
 * @Author: Yong
 * @Date: 2021-10-02 16:07:14
 * @LastEditTime: 2021-10-02 20:59:57
 */
import { CreateDateColumn, UpdateDateColumn, PrimaryGeneratedColumn } from "typeorm"

export abstract class BaseEntity {
    @PrimaryGeneratedColumn('uuid')
    ID: string;

    @CreateDateColumn()
    createTime: Date

    @UpdateDateColumn()
    updateTime: Date
}
